<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
package <xsl:value-of select="Schema/@DataEntityNameSpace" />;

import System.*;
import System.Data.*;
import System.Data.SqlClient.*;
import System.Data.SqlTypes.*;
import System.Xml.*;
import System.Reflection.*;
import ESpace.DALibrary.*;

public class <xsl:value-of select="Schema/@TableName" /> extends DataEntityBase
{
    public <xsl:value-of select="Schema/@TableName" />()
    {
        base.InitMetaData();
    }
    <xsl:for-each select="Schema/Columns">
    private <xsl:value-of select="concat(LANGUAGE_TYPE,' _',COLUMN_NAME)" />;
    public <xsl:value-of select="concat(LANGUAGE_TYPE,' ',COLUMN_NAME)" />
    {
        get
        {
            return this._<xsl:value-of select="COLUMN_NAME" />;
        }
        set
        {
            this._<xsl:value-of select="COLUMN_NAME" /> = value;
        }
    }
	</xsl:for-each>
}</xsl:template>
</xsl:stylesheet>